package com.aoxin.model.dto;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class SelectTreeDto {
	/**
	 * 显示的名称
	 */
	private String title;
	/**
	 * 值
	 */
	private String key;

	/**
	 * 子节点
	 */
	@JsonInclude(Include.NON_NULL) 
	private List<SelectTreeDto> children;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public List<SelectTreeDto> getChildren() {
		return children;
	}

	public void setChildren(List<SelectTreeDto> children) {
		this.children = children;
	}
}
